package com.xsh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Set;

/*
menuId":1,"parentId":0,"name":"系统管理","url":null,"perms":null,"type":0,
             "orderNum":null,"parentName":null,
             "list":[{"menuId":2,"parentId":1,"name":"用户管理","url":"sys/user.html","perms":null,
                      "type":1,"icon":"fa fa-user","orderNum":null,"parentName":null,"list":null
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Menu {

    private int menuId;
    private int parentId;
    private String name;
    private String url;
    private String perms;
    private int type;
    private String icon;
    private String orderName;
    private String parentName;
    private Set<Menu> list;
}
